import { Recipe } from './../recipe.model';
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-recipe-list',
  templateUrl: './recipe-list.component.html',
  styleUrls: ['./recipe-list.component.css','../../../../node_modules/bootstrap/dist/css/bootstrap.min.css']
})
export class RecipeListComponent implements OnInit {
	recipes:Recipe[]=[
		new Recipe('a test recipe 1','this is simple text','http://img2.imgtn.bdimg.com/it/u=3983606720,2935473718&fm=27&gp=0.jpg'),
		new Recipe('a test recipe 2','this is simple text','http://img1.imgtn.bdimg.com/it/u=18316679,999115574&fm=27&gp=0.jpg'),
		new Recipe('a test recipe 3','this is simple text','http://img4.imgtn.bdimg.com/it/u=1309594368,2653115512&fm=27&gp=0.jpg')
	]

    constructor() { }

    ngOnInit() {
    }

}
